package com.jz.jingying.mapper.sqlServer;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jz.jingying.bean.TAssayrecord;
import com.jz.jingying.bean.TPlasmstock;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzf
 * @since 2019-03-25
 */
public interface TAssayrecordMapper extends BaseMapper<TAssayrecord> {

    @Select("select count(*) from T_AssayRecord")
    Integer queryCount();
    List<TAssayrecord> query(@Param("pageSize")Integer pageSize, @Param("currentPage")Integer currentPage);

    List<TAssayrecord> getAssayRecordByCondition(@Param("condition") String condition) ;
    List<TAssayrecord> getAssayRecord(TAssayrecord AssayRecord);
    void  addAssayRecord(TAssayrecord AssayRecord);
    void  updateAssayRecord(TAssayrecord AssayRecord);
}
